.ui-multiselect { padding:0 4px 0 8px; text-align:left; position: relative;height: 24px;}
button.ui-multiselect{height:26px;} div.ui-multiselect{height:22px;}
.ui-multiselect span.ui-icon { float:right }
.ui-multiselect-single .ui-multiselect-checkboxes input { position:absolute !important; top: auto !important; left:-9999px; }
.ui-multiselect-single .ui-multiselect-checkboxes label { padding:3px 4px !important }

.ui-multiselect-header { margin-bottom:3px; padding:3px 0 3px 4px }
.ui-multiselect-header ul { font-size:0.9em }
.ui-multiselect-header ul li { float:left; padding:0 10px 0 0 }
.ui-multiselect-header a { text-decoration:none }
.ui-multiselect-header a:hover { text-decoration:underline }
.ui-multiselect-header span.ui-icon { float:left }
.ui-multiselect-header li.ui-multiselect-close { float:right; text-align:right; padding-right:0 }

.ui-multiselect-menu { display:none; padding:3px; position:absolute; z-index:10000; text-align: left;margin-top:-1px;min-width: 196px}
.ui-multiselect-menu.m-w-a{min-width: auto}
.ui-multiselect-checkboxes { position:relative /* fixes bug in IE6/7 */; overflow-y:auto }
.ui-multiselect-checkboxes label { cursor:default; display:block; border:1px solid transparent; padding:3px 1px ;margin: 0;line-height: 16px;}
.ui-multiselect-checkboxes label input { position:relative; top:1px }
.ui-multiselect-checkboxes li { clear:both; font-size:1em; padding-right:0px }
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label { text-align:center; font-weight:bold; border-bottom:1px solid }
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a { display:block; padding:3px; margin:1px 0; text-decoration:none }

/* remove label borders in IE6 because IE6 does not support transparency */

.ui-multiselect{max-width: 100%;}
* html .ui-multiselect-checkboxes label { border:none }
.ui-multiselect-checkboxes li label.ui-state-active{
	border-color: #A8CBFF;
	background:#A8CBFF;
        color:#000;
}
.ui-multiselect-checkboxes li label.ui-state-hover{
	border-color: #5197FF;;
	background:#5197FF;
        color:#fff;
}
.ui-multiselect.ui-state-active.erb,
.ui-multiselect.ui-state-active.erb.ui-state-hover,
.ui-multiselect.ui-state-active,
.ui-multiselect.ui-state-active.ui-state-active,
.ui-multiselect-menu{border: 1px solid #4d90fe;}
.ui-multiselect,.ui-multiselect.ui-state-default, 
.ui-multiselect.ui-widget-content .ui-state-default, 
.ui-multiselect.ui-widget-header .ui-state-default { 
    background:none;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px; 
    overflow:hidden;
}
.ui-multiselect.ui-state-hover{
	border: 1px solid #A8D4FF;background:none;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.1);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.1);
	box-shadow: 0 1px 1px rgba(0,0,0,.1);
}
.ui-multiselect.erb,.ui-multiselect.ui-state-hover.erb{border-color:#dd4b39}
/*.ui-multiselect-menu{width:auto !important}*/
.ui-multiselect-menu._mul{margin-top:-24px }
.ui-multiselect-menu li label input[type=checkbox]{top:2px;position:relative;margin:0 4px 0 0;padding: 0;}

.ui-multiselect span{position:absolute;top:3px;left:8px;right:20px;line-height:16px;height:16px;overflow:hidden}
.ui-multiselect span.ui-icon{padding:0;margin:0;position:absolute;top:4px;right:4px;float:none;left:auto;z-index:10}
.ui-multiselect-menu .ui-widget-header .ui-helper-reset span{line-height:16px;font-weight:normal;font-size:11px}
.ui-multiselect-menu .ui-icon.ui-icon-check{background:url('../images/ui-check-box.png') no-repeat center;}
.ui-multiselect-menu .ui-icon.ui-icon-closethick{background:url('../images/ui-check-box-uncheck.png') no-repeat center;}
.ui-multiselect-menu .ui-widget-header{position:relative}
.ui-multiselect-menu .ui-widget-header li.ui-multiselect-close{height:16px;width:16px;position:absolute;top:50%;right:2px;float:none;margin-top:-8px;}
.ui-multiselect-menu .ui-icon.ui-icon-circle-close{background:url('../images/close.png') no-repeat center;opacity:0.8}
.ui-multiselect-menu .ui-icon.ui-icon-circle-close:hover{opacity:1}
.ui-multiselect-menu .ui-widget-header .ui-multiselect-filter{padding-bottom:0px}
.ui-multiselect-menu .ui-widget-header .ui-multiselect-filter input{padding:1px 4px 2px 4px;margin-left:4px;height: 18px}